<?php
$oFiles = JobHandler::getFiles($_SESSION['iJobID']);
?>
<div id="layer_job_filedelete" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_job_filedelete">
<input type="hidden" name="sAction" value="job-filedelete">
<input type="hidden" name="iFile" value="<?php print $_REQUEST['iFile'] ?>">
<input type="hidden" name="sView" value="job-view">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle" colspan="2"><?php print msg('Delete file') ?></td>
	</tr>
	<tr>
		<td class="fieldname"><?php print msg('File') ?>:</td>
		<td class="fieldvalue"><input type="text" name="sFileCaption" value="<?php print $oFiles[$_REQUEST['iFile']]->sFilename ?>" disabled></td>
	</tr>
	<tr>
		<td class="boxbody center" colspan="2">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" name="bCancel" id="focus_job_filedelete" onClick="showBox('job-files');">
		</td>
	</tr>
</table>
</form>
</div>
